#include <stdint.h>
#include <stdio.h>
#include <string.h>


typedef enum power_flow_e
{
  pwr_pre_up,
  pwr_normal_running,
  pwr_down_start,
  pwr_down_end,
} power_flow_t;

void start_power_control(uint8_t prio);
void send_powerdown_event(void);